﻿#pragma execution_character_set("utf-8")
#ifndef DEVICESTATUSITEM_H
#define DEVICESTATUSITEM_H

#include <QObject>

class DeviceStatusItem
{
public:
    explicit DeviceStatusItem(QString name,QString address,bool isConnected);

    QString Name();
    QString Address();
    bool IsConnected();

    void SetError(QString error);
    QString Error();

    QStringList GetHeaders();
    QMap<QString,QVariant> GetMap();

private:
    QString _name="";
    QString _address="";
    bool _isConnected=false;
    QString _error="";

signals:

public slots:
};

#endif // DEVICESTATUSITEM_H
